//
//  DFColor.h
//  SeniorCarRepairing
//
//  Created by xmdfst on 16/9/29.
//  Copyright © 2016年 xmdfst. All rights reserved.
//

#define RGBCOLOR(r,g,b) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f \
blue:(b)/255.0f alpha:1.0f]
#define RGBACOLOR(r,g,b,a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f \
alpha:(a)]
#define RGBA(r,g,b,a) (r)/255.0f, (g)/255.0f, (b)/255.0f, (a)

#define UIColorFromRGB(rgbValue) [UIColor \
colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \
green:((float)((rgbValue & 0xFF00) >> 8))/255.0 \
blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]


#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

UIColor* fRGBCOLOR(CGFloat r, CGFloat g, CGFloat b);
UIColor* fRGBACOLOR(CGFloat r, CGFloat g, CGFloat b,CGFloat a);

@interface DFColor : NSObject
+(UIColor*)mainColor;
+(UIColor*)bgColor;
+(UIColor*)dashLight;

+(UIColor*)naviTitleColor;      // NaviTitle
+(UIColor*)textBlack;       // 黑色字体
+(UIColor*)bgGrayColor;     //灰色背景
+(UIColor*)titleColor;     //title

+(UIColor*)textHeavyGray;   // 重灰色字体
+(UIColor*)textGray;        // 灰色字体
+(UIColor*)btnDisable;      // 按钮不可用状态
+(UIColor*)textRed;         // 红色字体
+(UIColor*)textGolden;       // 金色字体

@end
